﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NTQOnlineExam.Services.Infrastructure;
using NTQOnlineExam.Services.Models;
using NTQOnlineExam.Services.SearchCriteria;

namespace NTQOnlineExam.Services.ReportService.Order
{
    public interface IOrderReportService
    {
        SearchResult<OrderDTO> SearchOrder(OrderSearchCriteria criteria, int pageSize, int pageIndex, out decimal totalOrderAmount);
        OrderDTO GetOrderById(Guid orderId);
        IList<OrderDetailDTO> GetOrderDetailsByOrderId(Guid orderId);
        IList<OrderDTO> GetCurrentUserOrderHistory(IList<SearchSortItem> sortItems, int pageSize, int pageIndex, out int total);
    }
}
